@echo off
rem Bin & Obj folder cleanup
rem Written by Webmaster442

IF "%1"=="" goto all
IF "%1"=="debug" goto debugsymbols

:debugsymbols
ehco Removing pdb files
for /D %%d in (*) do if exist %%d\bin\release\*.pdb del %%d\bin\release\*.pdb
for /D %%d in (*) do if exist %%d\bin\debug\*.pdb del %%d\bin\debug\*.pdb


:All
ehco Removing Bin folders & Contents
for /D %%d in (*) do if exist %%d\bin echo I | rmdir /s %%d\bin
echo Removing Obj folders & Contents
for /D %%d in (*) do if exist %%d\obj echo I | rmdir /s %%d\obj